﻿#region Usings
using System.Web.Mvc;

using BK.Model;
using BK.UI.Web.AppCode;
#endregion

namespace BK.UI.Web.Controllers
{
    public class UserDependedController : Controller
    {
        #region Fields
        private User _user;
        #endregion

        #region Instance Properties
        protected new User User
        {
            get
            {
                if (_user == null)
                {
                    _user = UserProvider.GetCurrentUser();
                }

                return _user;
            }
        }
        #endregion
    }
}